﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OnlineMealOrdering.Domain.Base;

namespace OnlineMealOrdering.Domain
{
    public class MarkEntity : AuditableEntity
    {
        public int Id { get; set; }

        public string Name { get; set; }

        public ImageEntity Image { get; set; }

        public string Description { get; set; }

        public static MarkEntity Create(string name, ImageEntity image, string description)
        {
            var entity = new MarkEntity();
            entity.Image = image;
            entity.Description = description;
            entity.Name = name;
            return entity;
        }
    }
}
